﻿var zqnb = zqnb || {};
(function () {
    "use strict";

    var repeatApp = angular.module('repeatApp',[]);
    repeatApp.controller('repeatController', ['$scope', function ($scope) {

        var slef = this;
        slef.hello = "!!!hello from subApp.subController";

    }]);
	
	repeatApp.controller('repeatsController', ['$scope', function ($scope) {

        $scope.hello="!!!hello from subApp.subController";
        var clickEvent = function (page) { alert(page); };
        
		$scope.array = [
		{pageindex:'第一个对象', pageClick: clickEvent},
		{pageindex:'第二个对象', pageClick: clickEvent}
		];
    }]);

}());